package com.githan.phone_store_demo.reposity;

import com.githan.phone_store_demo.entity.PhoneCategory;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author https://github.com/Han56
 * @date 2021/4/18 18:51
 */
public interface PhoneCategoryRepository extends JpaRepository<PhoneCategory,Integer> {

    public PhoneCategory findByCategoryType(Integer categoryType);

}
